package com.cskaoyan.market.db.admin.vo;

import java.util.List;

import com.cskaoyan.market.db.domain.MarketGoods;
import com.cskaoyan.market.db.domain.MarketGoodsAttribute;
import com.cskaoyan.market.db.domain.MarketGoodsProduct;
import com.cskaoyan.market.db.domain.MarketGoodsSpecification;

/**
 * @author 小焦
 * @since 2023/03/22 09:52
 */
public class BaseAdminGoodsInfoVo {

	/**
	 * categoryIds : [1011000,1020007]
	 * goods : {"id":1181051,"goodsSn":"1511","name":"益达","categoryId":1020007,"brandId":1001015,"gallery":["http://localhost:8083/wx/storage/fetch/1ll1luw4mti6buu60kly.jpg"],"keywords":"口香糖,你的益达","brief":"是你的益达","isOnSale":true,"sortOrder":100,"picUrl":"http://localhost:8083/wx/storage/fetch/n3fsjnoiwqglup7gy1jr.jpg","shareUrl":"","isNew":true,"isHot":true,"unit":"盒","counterPrice":9.9,"retailPrice":10,"addTime":"2023-03-22 08:50:40","updateTime":"2023-03-22 09:34:09","deleted":false,"detail":"<p>这里是详细介绍<\/p>"}
	 * attributes : [{"id":898,"goodsId":1181051,"attribute":"这里是参数","value":"222","addTime":"2023-03-22 08:50:41","updateTime":"2023-03-22 08:50:41","deleted":false},{"id":899,"goodsId":1181051,"attribute":"重量","value":"130g","addTime":"2023-03-22 08:50:41","updateTime":"2023-03-22 08:50:41","deleted":false},{"id":900,"goodsId":1181051,"attribute":"123","value":"123","addTime":"2023-03-22 09:18:12","updateTime":"2023-03-22 09:18:12","deleted":false},{"id":901,"goodsId":1181051,"attribute":"456","value":"456","addTime":"2023-03-22 09:18:35","updateTime":"2023-03-22 09:18:35","deleted":false}]
	 * specifications : [{"id":300,"goodsId":1181051,"specification":"这里是规格","value":"22","picUrl":"http://localhost:8083/wx/storage/fetch/0yym6c9inb0x9ohakvy8.jpg","addTime":"2023-03-22 08:50:41","updateTime":"2023-03-22 08:50:41","deleted":false}]
	 * products : [{"id":298,"goodsId":1181051,"specifications":["22"],"price":10,"number":1300,"url":"http://localhost:8083/wx/storage/fetch/10xd9qcx1vetyox6hfoj.jpg","addTime":"2023-03-22 08:50:41","updateTime":"2023-03-22 08:50:41","deleted":false}]
	 */

	private MarketGoods goods;
	private Integer[] categoryIds;
	private List<MarketGoodsAttribute> attributes;
	private List<MarketGoodsSpecification> specifications;
	private List<MarketGoodsProduct> products;

	public MarketGoods getGoods() {
		return goods;
	}

	public void setGoods(MarketGoods goods) {
		this.goods = goods;
	}

	public Integer[] getCategoryIds() {
		return categoryIds;
	}

	public void setCategoryIds(Integer[] categoryIds) {
		this.categoryIds = categoryIds;
	}

	public List<MarketGoodsAttribute> getAttributes() {
		return attributes;
	}

	public void setAttributes(List<MarketGoodsAttribute> attributes) {
		this.attributes = attributes;
	}

	public List<MarketGoodsSpecification> getSpecifications() {
		return specifications;
	}

	public void setSpecifications(List<MarketGoodsSpecification> specifications) {
		this.specifications = specifications;
	}

	public List<MarketGoodsProduct> getProducts() {
		return products;
	}

	public void setProducts(List<MarketGoodsProduct> products) {
		this.products = products;
	}






}
